<?php
class cnfg
{
    static $agent=array(
            'server_port'   =>  11000,
            'monitor_port'  =>  11001,
            'workers'       =>  4,
            'tracking'      =>  true
            );

    static $db=array(
            'db1'=>array(
                'type'      =>  'mysql',
                'user'      =>  'dbuser',
                'passwd'    =>  '',
                'database'  =>  'test',
                'host'      =>  'localhost'
                ),
//            'db2'=>array(
//                'type'      =>  "oracle",
//                'user'      =>  "dbuser",
//                'passwd'    =>  '',
//                'host'      =>  "localhost"
//                )
            );

    static $svcnode=array(
            'passwd'    =>  array('addr'=>"localhost:10010"),
            'session'   =>  array('addr'=>"localhost:10020",'mode'=>svcnode::PERMANENT),
            'secure'    =>  array('addr'=>"localhost:10030",'mode'=>svcnode::PERMANENT),
            'mailfwd'   =>  array('addr'=>"localhost:10040"),
            'confirm'   =>  array('addr'=>"localhost:10050",'mode'=>svcnode::PERMANENT)
            );

    static $svcenv=array(
            'site'=>array('addr'=>"site:11000")
            );
}
?>
